Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.IO.OpenXml Namespace / IDataConverter<T> Interface / CanConvert Method
A <T> instance indicates the data to convert.


In This Topic
    CanConvert Method
    In This Topic
    Determines whether this data converter can convert the specified data.
    Syntax
    'Declaration
     
    
    Function CanConvert( _
       ByRef data As T _
    ) As Boolean
    'Usage
     
    
    Dim instance As IDataConverter(Of T)
    Dim data As T
    Dim value As Boolean
     
    value = instance.CanConvert(data)
    bool CanConvert( 
       ref T data
    )

    Parameters

    data
    A <T> instance indicates the data to convert.

    Return Value

    true if this data converter can convert the specified data; otherwise, false.
    Remarks
    Data is passed as reference to improve performance. The data convert should not change its value.
    See Also